package vehicle;

public class Test {
	public static void main(String[] args) {
		Plane p = new Plane("波音",800,"787");
		Ship s = new Ship("棒棰岛号",300,50000);
		Train t = new Train("和谐号",365,true);
		
		Custom c = new Custom();
		c.byVehicle(p, 20000);
		c.byVehicle(s, 1000);
		c.byVehicle(t, 580);
	}
}
